package cn.itcast.config;


import cn.itcast.pojo.Role;
import cn.itcast.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ThirdConfig {
    @Bean
    public User user () {
        return new User();
    }

    @Bean
    public Role role () {
        return new Role();
    }
}
